home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 41
/
Amiga Format CD41 (1999-06)(Future Publishing)(GB)[!][issue 1999-07].iso
/
-seriously_amiga-
/
misc
/
wordpad
/
install
next >
Wrap
Text File
|
1999-04-19
|
3KB
|
130 lines
;$VER: WordPad Installer v0.1 (20/3/99)
;set some message stuff-----------------------
(procedure english (
(set MSG_WELCOME "\n\nWelcome to the installation of Wordpad,\ndo you wish to proceed?")
(set MSG_DESTINATION "\nWhere do you want Wordpad to be installed.\nA drawer will be created.")
(set MSG_COPY "\nCopying source files\n")
))
(if (= @language "english") (english))
(message (MSG_WELCOME))
(set dest_dir
(askdir (prompt (MSG_DESTINATION))
(help @askdir-help)
(default @default-dest)
(newpath))
)
(set @default-dest dest_dir)
(copyfiles (prompt (MSG_COPY "Wordpad" @default-dest))
(help @copyfiles-help)
(source "bin/Wordpad")
(dest dest_dir)
)
(copyfiles (source "bin/Wordpad.info")
(dest dest_dir)
)
(set images_dir (tackon dest_dir "Images"))
(makedir images_dir)
(copyfiles (source "bin/Images.info")
(dest dest_dir)
)
(copyfiles (source "bin/Images/images.bsh")
(dest images_dir)
)
(copyfiles (source "bin/Images/fimages.bsh")
(dest images_dir)
)
(copyfiles (source "bin/Wordpad.guide")
(dest dest_dir)
)
(copyfiles (source "bin/Wordpad.guide.info")
(dest dest_dir)
)
(complete 80)
;Copy MUI MCC's--------------------------
(copylib (prompt "MUI - TextEditor.mcc")
(source "bin/mui/TextEditor.mcc")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(copylib (prompt "MUI - TextEditor.mcp")
(source "bin/mui/TextEditor.mcp")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(copylib (prompt "MUI - Toolbar.mcc")
(source "bin/mui/Toolbar.mcc")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(copylib (prompt "MUI - Toolbar.mcp")
(source "bin/mui/Toolbar.mcp")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(copylib (prompt "MUI - TearOffBay.mcc")
(source "bin/mui/TearOffBay.mcc")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(copylib (prompt "MUI - TearOffPanel.mcc")
(source "bin/mui/TearOffPanel.mcc")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(copylib (prompt "MUI - TearOff.mcp")
(source "bin/mui/TearOff.mcp")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(copylib (prompt "MUI - CompactWindow.mcc")
(source "bin/mui/CompactWindow.mcc")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(copylib (prompt "MUI - CompactWindow.mcp")
(source "bin/mui/CompactWindow.mcp")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(copylib (prompt "MUI - TWFmultiLED.mcc")
(source "bin/mui/TWFmultiLED.mcc")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(copylib (prompt "MUI - TWFmultiLED.mcp")
(source "bin/mui/TWFmultiLED.mcp")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(makedir "MUI:Images/SU_TearOff")
(set TO_Images "MUI:Images/SU_TearOff/")
(copyfiles (source "bin/mui/images/SU_TearOff/")
(dest TO_Images)
(all)
)